<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>InitialPad | @magenta/music</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">@magenta/music</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_gansynth_custom_layers_.html">&quot;gansynth/custom_layers&quot;</a>
				</li>
				<li>
					<a href="_gansynth_custom_layers_.initialpad.html">InitialPad</a>
				</li>
			</ul>
			<h1>Class InitialPad</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>InitialPad.</p>
					</div>
					<p>Padding op to allow for valid upsampling convolution,
					of the initial convolution in the stack.</p>
					<dl class="tsd-comment-tags">
						<dt>param</dt>
						<dd><p>Integer, size of convolution kernel height.</p>
						</dd>
						<dt>param</dt>
						<dd><p>Integer, size of convolution kernel height.</p>
						</dd>
					</dl>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="tsd-signature-type">Layer</span>
						<ul class="tsd-hierarchy">
							<li>
								<span class="target">InitialPad</span>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section tsd-is-not-exported">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section tsd-is-not-exported">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#_refcount" class="tsd-kind-icon">_ref<wbr>Count</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#_stateful" class="tsd-kind-icon">_stateful</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#_trainableweights" class="tsd-kind-icon">_trainable<wbr>Weights</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#activityregularizer" class="tsd-kind-icon">activity<wbr>Regularizer</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#batchinputshape" class="tsd-kind-icon">batch<wbr>Input<wbr>Shape</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#built" class="tsd-kind-icon">built</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#dtype" class="tsd-kind-icon">dtype</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#id" class="tsd-kind-icon">id</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#inboundnodes" class="tsd-kind-icon">inbound<wbr>Nodes</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#initialweights" class="tsd-kind-icon">initial<wbr>Weights</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#input" class="tsd-kind-icon">input</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#inputspec" class="tsd-kind-icon">input<wbr>Spec</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#kernelh" class="tsd-kind-icon">kernelH</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#kernelw" class="tsd-kind-icon">kernelW</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#layerconfig" class="tsd-kind-icon">layer<wbr>Config</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#losses" class="tsd-kind-icon">losses</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#name" class="tsd-kind-icon">name</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#nontrainableweights" class="tsd-kind-icon">non<wbr>Trainable<wbr>Weights</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#outboundnodes" class="tsd-kind-icon">outbound<wbr>Nodes</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#output" class="tsd-kind-icon">output</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#outputshape" class="tsd-kind-icon">output<wbr>Shape</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#stateful" class="tsd-kind-icon">stateful</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#supportsmasking" class="tsd-kind-icon">supports<wbr>Masking</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#trainable" class="tsd-kind-icon">trainable</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#trainableweights" class="tsd-kind-icon">trainable<wbr>Weights</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#trainable_" class="tsd-kind-icon">trainable_</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#updatable" class="tsd-kind-icon">updatable</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#updates" class="tsd-kind-icon">updates</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#weights" class="tsd-kind-icon">weights</a></li>
							</ul>
						</section>
						<section class="tsd-index-section tsd-is-not-exported">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#addloss" class="tsd-kind-icon">add<wbr>Loss</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#addweight" class="tsd-kind-icon">add<wbr>Weight</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#apply" class="tsd-kind-icon">apply</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#assertinputcompatibility" class="tsd-kind-icon">assert<wbr>Input<wbr>Compatibility</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#assertnotdisposed" class="tsd-kind-icon">assert<wbr>Not<wbr>Disposed</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#build" class="tsd-kind-icon">build</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#calculatelosses" class="tsd-kind-icon">calculate<wbr>Losses</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#call" class="tsd-kind-icon">call</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#clearcallhook" class="tsd-kind-icon">clear<wbr>Call<wbr>Hook</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#computemask" class="tsd-kind-icon">compute<wbr>Mask</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#computeoutputshape" class="tsd-kind-icon">compute<wbr>Output<wbr>Shape</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#countparams" class="tsd-kind-icon">count<wbr>Params</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#dispose" class="tsd-kind-icon">dispose</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#disposeweights" class="tsd-kind-icon">dispose<wbr>Weights</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#getclassname" class="tsd-kind-icon">get<wbr>Class<wbr>Name</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#getconfig" class="tsd-kind-icon">get<wbr>Config</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#getinputat" class="tsd-kind-icon">get<wbr>Input<wbr>At</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#getoutputat" class="tsd-kind-icon">get<wbr>Output<wbr>At</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#getweights" class="tsd-kind-icon">get<wbr>Weights</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#invokecallhook" class="tsd-kind-icon">invoke<wbr>Call<wbr>Hook</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#resetstates" class="tsd-kind-icon">reset<wbr>States</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#setcallhook" class="tsd-kind-icon">set<wbr>Call<wbr>Hook</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#setfastweightinitduringbuild" class="tsd-kind-icon">set<wbr>Fast<wbr>Weight<wbr>Init<wbr>During<wbr>Build</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#setweights" class="tsd-kind-icon">set<wbr>Weights</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#warnonincompatibleinputshape" class="tsd-kind-icon">warn<wbr>OnIncompatible<wbr>Input<wbr>Shape</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#fromconfig" class="tsd-kind-icon">from<wbr>Config</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-static tsd-is-not-exported"><a href="_gansynth_custom_layers_.initialpad.html#nodekey" class="tsd-kind-icon">node<wbr>Key</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Initial<wbr>Pad<span class="tsd-signature-symbol">(</span>kernelH<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, kernelW<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, layerConfig<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_gansynth_custom_layers_.initialpad.html" class="tsd-signature-type">InitialPad</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides Layer.__constructor</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth/custom_layers.ts#L83">gansynth/custom_layers.ts:83</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> kernelH: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;2</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> kernelW: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;16</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> layerConfig: <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol"> =&nbsp;{}</span></h5>
									<ul class="tsd-parameters">
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_gansynth_custom_layers_.initialpad.html" class="tsd-signature-type">InitialPad</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
					<a name="_refcount" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> _ref<wbr>Count</h3>
					<div class="tsd-signature tsd-kind-icon">_ref<wbr>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer._refCount</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
					<a name="_stateful" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> _stateful</h3>
					<div class="tsd-signature tsd-kind-icon">_stateful<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer._stateful</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
					<a name="_trainableweights" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> _trainable<wbr>Weights</h3>
					<div class="tsd-signature tsd-kind-icon">_trainable<wbr>Weights<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">LayerVariable</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer._trainableWeights</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="activityregularizer" class="tsd-anchor"></a>
					<h3>activity<wbr>Regularizer</h3>
					<div class="tsd-signature tsd-kind-icon">activity<wbr>Regularizer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Regularizer</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.activityRegularizer</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="batchinputshape" class="tsd-anchor"></a>
					<h3>batch<wbr>Input<wbr>Shape</h3>
					<div class="tsd-signature tsd-kind-icon">batch<wbr>Input<wbr>Shape<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Shape</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.batchInputShape</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="built" class="tsd-anchor"></a>
					<h3>built</h3>
					<div class="tsd-signature tsd-kind-icon">built<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.built</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="dtype" class="tsd-anchor"></a>
					<h3>dtype</h3>
					<div class="tsd-signature tsd-kind-icon">dtype<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DataType</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.dtype</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="id" class="tsd-anchor"></a>
					<h3>id</h3>
					<div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.id</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="inboundnodes" class="tsd-anchor"></a>
					<h3>inbound<wbr>Nodes</h3>
					<div class="tsd-signature tsd-kind-icon">inbound<wbr>Nodes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Node</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.inboundNodes</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="initialweights" class="tsd-anchor"></a>
					<h3>initial<wbr>Weights</h3>
					<div class="tsd-signature tsd-kind-icon">initial<wbr>Weights<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.initialWeights</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="input" class="tsd-anchor"></a>
					<h3>input</h3>
					<div class="tsd-signature tsd-kind-icon">input<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.input</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Retrieves the input tensor(s) of a layer.</p>
						</div>
						<p>Only applicable if the layer has exactly one inbound node,
						i.e. if it is connected to one incoming layer.</p>
						<dl class="tsd-comment-tags">
							<dt>returns</dt>
							<dd><p>Input tensor or list of input tensors.</p>
							</dd>
							<dt>exception</dt>
							<dd><p>AttributeError if the layer is connected to more than one
								incoming layers.</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="inputspec" class="tsd-anchor"></a>
					<h3>input<wbr>Spec</h3>
					<div class="tsd-signature tsd-kind-icon">input<wbr>Spec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">InputSpec</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.inputSpec</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>List of InputSpec class instances.</p>
						</div>
						<p>Each entry describes one required input:</p>
						<ul>
							<li>ndim</li>
							<li>dtype
							A layer with <code>n</code> input tensors must have an <code>inputSpec</code> of length <code>n</code>.</li>
						</ul>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-not-exported">
					<a name="kernelh" class="tsd-anchor"></a>
					<h3>kernelH</h3>
					<div class="tsd-signature tsd-kind-icon">kernelH<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth/custom_layers.ts#L85">gansynth/custom_layers.ts:85</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-not-exported">
					<a name="kernelw" class="tsd-anchor"></a>
					<h3>kernelW</h3>
					<div class="tsd-signature tsd-kind-icon">kernelW<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth/custom_layers.ts#L85">gansynth/custom_layers.ts:85</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-not-exported">
					<a name="layerconfig" class="tsd-anchor"></a>
					<h3>layer<wbr>Config</h3>
					<div class="tsd-signature tsd-kind-icon">layer<wbr>Config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth/custom_layers.ts#L85">gansynth/custom_layers.ts:85</a></li>
						</ul>
					</aside>
					<div class="tsd-type-declaration">
						<h4>Type declaration</h4>
						<ul class="tsd-parameters">
						</ul>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="losses" class="tsd-anchor"></a>
					<h3>losses</h3>
					<div class="tsd-signature tsd-kind-icon">losses<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RegularizerFn</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.losses</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="name" class="tsd-anchor"></a>
					<h3>name</h3>
					<div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.name</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Name for this layer. Must be unique within a model.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="nontrainableweights" class="tsd-anchor"></a>
					<h3>non<wbr>Trainable<wbr>Weights</h3>
					<div class="tsd-signature tsd-kind-icon">non<wbr>Trainable<wbr>Weights<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">LayerVariable</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.nonTrainableWeights</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="outboundnodes" class="tsd-anchor"></a>
					<h3>outbound<wbr>Nodes</h3>
					<div class="tsd-signature tsd-kind-icon">outbound<wbr>Nodes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Node</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.outboundNodes</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="output" class="tsd-anchor"></a>
					<h3>output</h3>
					<div class="tsd-signature tsd-kind-icon">output<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.output</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Retrieves the output tensor(s) of a layer.</p>
						</div>
						<p>Only applicable if the layer has exactly one inbound node,
						i.e. if it is connected to one incoming layer.</p>
						<dl class="tsd-comment-tags">
							<dt>returns</dt>
							<dd><p>Output tensor or list of output tensors.</p>
							</dd>
							<dt>exception</dt>
							<dd><p>AttributeError if the layer is connected to more than one
								incoming layers.</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="outputshape" class="tsd-anchor"></a>
					<h3>output<wbr>Shape</h3>
					<div class="tsd-signature tsd-kind-icon">output<wbr>Shape<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Shape</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Shape</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.outputShape</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>doc</dt>
							<dd><p>{heading: &#39;Models&#39;, &#39;subheading&#39;: &#39;Classes&#39;}</p>
							</dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="stateful" class="tsd-anchor"></a>
					<h3>stateful</h3>
					<div class="tsd-signature tsd-kind-icon">stateful<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.stateful</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="supportsmasking" class="tsd-anchor"></a>
					<h3>supports<wbr>Masking</h3>
					<div class="tsd-signature tsd-kind-icon">supports<wbr>Masking<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.supportsMasking</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="trainable" class="tsd-anchor"></a>
					<h3>trainable</h3>
					<div class="tsd-signature tsd-kind-icon">trainable<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.trainable</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="trainableweights" class="tsd-anchor"></a>
					<h3>trainable<wbr>Weights</h3>
					<div class="tsd-signature tsd-kind-icon">trainable<wbr>Weights<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">LayerVariable</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.trainableWeights</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
					<a name="trainable_" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> trainable_</h3>
					<div class="tsd-signature tsd-kind-icon">trainable_<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.trainable_</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Whether the layer weights will be updated during training.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="updatable" class="tsd-anchor"></a>
					<h3>updatable</h3>
					<div class="tsd-signature tsd-kind-icon">updatable<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.updatable</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="updates" class="tsd-anchor"></a>
					<h3>updates</h3>
					<div class="tsd-signature tsd-kind-icon">updates<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.updates</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="weights" class="tsd-anchor"></a>
					<h3>weights</h3>
					<div class="tsd-signature tsd-kind-icon">weights<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">LayerVariable</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<p>Inherited from Layer.weights</p>
						<ul>
							<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>The concatenation of the lists trainableWeights and nonTrainableWeights
							(in this order).</p>
						</div>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="addloss" class="tsd-anchor"></a>
					<h3>add<wbr>Loss</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Loss<span class="tsd-signature-symbol">(</span>losses<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">RegularizerFn</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">RegularizerFn</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.addLoss</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>doc</dt>
									<dd><p>{heading: &#39;Models&#39;, &#39;subheading&#39;: &#39;Classes&#39;}</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>losses: <span class="tsd-signature-type">RegularizerFn</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">RegularizerFn</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
					<a name="addweight" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> add<wbr>Weight</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Weight<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, shape<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Shape</span>, dtype<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">DataType</span>, initializer<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Initializer</span>, regularizer<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Regularizer</span>, trainable<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, constraint<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Constraint</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LayerVariable</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.addWeight</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>doc</dt>
									<dd><p>{heading: &#39;Models&#39;, &#39;subheading&#39;: &#39;Classes&#39;}</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>name: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>shape: <span class="tsd-signature-type">Shape</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> dtype: <span class="tsd-signature-type">DataType</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> initializer: <span class="tsd-signature-type">Initializer</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> regularizer: <span class="tsd-signature-type">Regularizer</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> trainable: <span class="tsd-signature-type">boolean</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> constraint: <span class="tsd-signature-type">Constraint</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">LayerVariable</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="apply" class="tsd-anchor"></a>
					<h3>apply</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">apply<span class="tsd-signature-symbol">(</span>inputs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span>, kwargs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Kwargs</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.apply</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>doc</dt>
									<dd><p>{heading: &#39;Models&#39;, &#39;subheading&#39;: &#39;Classes&#39;}</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>inputs: <span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> kwargs: <span class="tsd-signature-type">Kwargs</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Tensor</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">SymbolicTensor</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span>
							</h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
					<a name="assertinputcompatibility" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> assert<wbr>Input<wbr>Compatibility</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">assert<wbr>Input<wbr>Compatibility<span class="tsd-signature-symbol">(</span>inputs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.assertInputCompatibility</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Checks compatibility between the layer and provided inputs.</p>
								</div>
								<p>This checks that the tensor(s) <code>input</code>
									verify the input assumptions of the layer
								(if any). If not, exceptions are raised.</p>
								<dl class="tsd-comment-tags">
									<dt>exception</dt>
									<dd><p>ValueError in case of mismatch between
										the provided inputs and the expectations of the layer.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>inputs: <span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Input tensor or list of input tensors.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
					<a name="assertnotdisposed" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> assert<wbr>Not<wbr>Disposed</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">assert<wbr>Not<wbr>Disposed<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.assertNotDisposed</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="build" class="tsd-anchor"></a>
					<h3>build</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">build<span class="tsd-signature-symbol">(</span>inputShape<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Shape</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Shape</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.build</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>doc</dt>
									<dd><p>{heading: &#39;Models&#39;, &#39;subheading&#39;: &#39;Classes&#39;}</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>inputShape: <span class="tsd-signature-type">Shape</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Shape</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="calculatelosses" class="tsd-anchor"></a>
					<h3>calculate<wbr>Losses</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">calculate<wbr>Losses<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Scalar</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.calculateLosses</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Retrieves the Layer&#39;s current loss values.</p>
								</div>
								<p>Used for regularizers during training.</p>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Scalar</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
					<a name="call" class="tsd-anchor"></a>
					<h3>call</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">call<span class="tsd-signature-symbol">(</span>inputs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">tf.Tensor4D</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">tf.Tensor4D</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides Layer.call</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth/custom_layers.ts#L105">gansynth/custom_layers.ts:105</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>inputs: <span class="tsd-signature-type">tf.Tensor4D</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>A 4D <code>Tensor</code> of NHWC format, H=1, W=1.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">tf.Tensor4D</span></h4>
							<p>A 4D <code>Tensor</code> with with padding in width and height.</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="clearcallhook" class="tsd-anchor"></a>
					<h3>clear<wbr>Call<wbr>Hook</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">clear<wbr>Call<wbr>Hook<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.clearCallHook</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Clear call hook.
									This is currently used for testing only.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="computemask" class="tsd-anchor"></a>
					<h3>compute<wbr>Mask</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">compute<wbr>Mask<span class="tsd-signature-symbol">(</span>inputs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span>, mask<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.computeMask</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Computes an output mask tensor.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>inputs: <span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Tensor or list of tensors.</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> mask: <span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Tensor or list of tensors.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Tensor</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span>
							</h4>
							<p>null or a tensor (or list of tensors, one per output tensor of the
							layer).</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
					<a name="computeoutputshape" class="tsd-anchor"></a>
					<h3>compute<wbr>Output<wbr>Shape</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">compute<wbr>Output<wbr>Shape<span class="tsd-signature-symbol">(</span>inputShape<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides Layer.computeOutputShape</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth/custom_layers.ts#L93">gansynth/custom_layers.ts:93</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>inputShape: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="countparams" class="tsd-anchor"></a>
					<h3>count<wbr>Params</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">count<wbr>Params<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.countParams</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>doc</dt>
									<dd><p>{heading: &#39;Models&#39;, &#39;subheading&#39;: &#39;Classes&#39;}</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="dispose" class="tsd-anchor"></a>
					<h3>dispose</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">dispose<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">DisposeResult</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.dispose</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>doc</dt>
									<dd><p>{heading: &#39;Models&#39;, &#39;subheading&#39;: &#39;Classes&#39;}</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">DisposeResult</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
					<a name="disposeweights" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> dispose<wbr>Weights</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">dispose<wbr>Weights<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.disposeWeights</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Dispose the weight variables that this Layer instance holds.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>Number of disposed variables.</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
					<a name="getclassname" class="tsd-anchor"></a>
					<h3>get<wbr>Class<wbr>Name</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Class<wbr>Name<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides Serializable.getClassName</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth/custom_layers.ts#L118">gansynth/custom_layers.ts:118</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Layers must implement &quot;getClassName&quot;.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-not-exported">
					<a name="getconfig" class="tsd-anchor"></a>
					<h3>get<wbr>Config</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Config<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ConfigDict</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.getConfig</p>
								<p>Overrides Serializable.getConfig</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>doc</dt>
									<dd><p>{heading: &#39;Models&#39;, &#39;subheading&#39;: &#39;Classes&#39;}</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ConfigDict</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="getinputat" class="tsd-anchor"></a>
					<h3>get<wbr>Input<wbr>At</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Input<wbr>At<span class="tsd-signature-symbol">(</span>nodeIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.getInputAt</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Retrieves the input tensor(s) of a layer at a given node.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>nodeIndex: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Integer, index of the node from which to retrieve the
											attribute. E.g. <code>nodeIndex=0</code> will correspond to the first time the layer
										was called.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">SymbolicTensor</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span>
							</h4>
							<p>A tensor (or list of tensors if the layer has multiple inputs).</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="getoutputat" class="tsd-anchor"></a>
					<h3>get<wbr>Output<wbr>At</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Output<wbr>At<span class="tsd-signature-symbol">(</span>nodeIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.getOutputAt</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Retrieves the output tensor(s) of a layer at a given node.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>nodeIndex: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Integer, index of the node from which to retrieve the
											attribute. E.g. <code>nodeIndex=0</code> will correspond to the first time the layer
										was called.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">SymbolicTensor</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">SymbolicTensor</span><span class="tsd-signature-symbol">[]</span>
							</h4>
							<p>A tensor (or list of tensors if the layer has multiple outputs).</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="getweights" class="tsd-anchor"></a>
					<h3>get<wbr>Weights</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Weights<span class="tsd-signature-symbol">(</span>trainableOnly<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.getWeights</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>doc</dt>
									<dd><p>{heading: &#39;Models&#39;, &#39;subheading&#39;: &#39;Classes&#39;}</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> trainableOnly: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
					<a name="invokecallhook" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> invoke<wbr>Call<wbr>Hook</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">invoke<wbr>Call<wbr>Hook<span class="tsd-signature-symbol">(</span>inputs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span>, kwargs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Kwargs</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.invokeCallHook</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>inputs: <span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
								<li>
									<h5>kwargs: <span class="tsd-signature-type">Kwargs</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="resetstates" class="tsd-anchor"></a>
					<h3>reset<wbr>States</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">reset<wbr>States<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.resetStates</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Reset the states of the layer.</p>
								</div>
								<p>This method of the base Layer class is essentially a no-op.
									Subclasses that are stateful (e.g., stateful RNNs) should override this
								method.</p>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="setcallhook" class="tsd-anchor"></a>
					<h3>set<wbr>Call<wbr>Hook</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Call<wbr>Hook<span class="tsd-signature-symbol">(</span>callHook<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallHook</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.setCallHook</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set call hook.
									This is currently used for testing only.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callHook: <span class="tsd-signature-type">CallHook</span></h5>
									<div class="tsd-comment tsd-typography">
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="setfastweightinitduringbuild" class="tsd-anchor"></a>
					<h3>set<wbr>Fast<wbr>Weight<wbr>Init<wbr>During<wbr>Build</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Fast<wbr>Weight<wbr>Init<wbr>During<wbr>Build<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.setFastWeightInitDuringBuild</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the fast-weight-initialization flag.</p>
								</div>
								<p>In cases where the initialized weight values will be immediately
									overwritten by loaded weight values during model loading, setting
									the flag to <code>true</code> saves unnecessary calls to potentially expensive
								initializers and speeds up the loading process.</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>value: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Target value of the flag.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
					<a name="setweights" class="tsd-anchor"></a>
					<h3>set<wbr>Weights</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Weights<span class="tsd-signature-symbol">(</span>weights<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.setWeights</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>doc</dt>
									<dd><p>{heading: &#39;Models&#39;, &#39;subheading&#39;: &#39;Classes&#39;}</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>weights: <span class="tsd-signature-type">Tensor</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
					<a name="warnonincompatibleinputshape" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagProtected">Protected</span> warn<wbr>OnIncompatible<wbr>Input<wbr>Shape</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">warn<wbr>OnIncompatible<wbr>Input<wbr>Shape<span class="tsd-signature-symbol">(</span>inputShape<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Shape</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.warnOnIncompatibleInputShape</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Check compatibility between input shape and this layer&#39;s batchInputShape.</p>
								</div>
								<p>Print warning if any incompatibility is found.</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>inputShape: <span class="tsd-signature-type">Shape</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Input shape to be checked.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static tsd-is-not-exported">
					<a name="fromconfig" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> from<wbr>Config</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">from<wbr>Config&lt;T&gt;<span class="tsd-signature-symbol">(</span>cls<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">SerializableConstructor</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span>, config<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ConfigDict</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Serializable.fromConfig</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>nocollapse</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Serializable</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>cls: <span class="tsd-signature-type">SerializableConstructor</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
								<li>
									<h5>config: <span class="tsd-signature-type">ConfigDict</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-static tsd-is-not-exported">
					<a name="nodekey" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagProtected">Protected</span> node<wbr>Key</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-static tsd-is-not-exported">
						<li class="tsd-signature tsd-kind-icon">node<wbr>Key<span class="tsd-signature-symbol">(</span>layer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Layer</span>, nodeIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from Layer.nodeKey</p>
								<ul>
									<li>Defined in <a href="https://github.com/tensorflow/magenta-js/tree/master/music/src/gansynth_custom/layers.ts">gansynth_custom/layers.ts</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Converts a layer and its index to a unique (immutable type) name.
									This function is used internally with <code>this.containerNodes</code>.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>layer: <span class="tsd-signature-type">Layer</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The layer.</p>
									</div>
								</li>
								<li>
									<h5>nodeIndex: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The layer&#39;s position (e.g. via enumerate) in a list of
										nodes.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>The unique name.</p>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-external-module">
						<a href="../modules/_gansynth_custom_layers_.html">"gansynth/custom_<wbr>layers"</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported">
						<a href="_gansynth_custom_layers_.boxupscale.html" class="tsd-kind-icon">Box<wbr>Upscale</a>
					</li>
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported">
						<a href="_gansynth_custom_layers_.initialpad.html" class="tsd-kind-icon">Initial<wbr>Pad</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#_refcount" class="tsd-kind-icon">_ref<wbr>Count</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#_stateful" class="tsd-kind-icon">_stateful</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#_trainableweights" class="tsd-kind-icon">_trainable<wbr>Weights</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#activityregularizer" class="tsd-kind-icon">activity<wbr>Regularizer</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#batchinputshape" class="tsd-kind-icon">batch<wbr>Input<wbr>Shape</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#built" class="tsd-kind-icon">built</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#dtype" class="tsd-kind-icon">dtype</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#id" class="tsd-kind-icon">id</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#inboundnodes" class="tsd-kind-icon">inbound<wbr>Nodes</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#initialweights" class="tsd-kind-icon">initial<wbr>Weights</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#input" class="tsd-kind-icon">input</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#inputspec" class="tsd-kind-icon">input<wbr>Spec</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#kernelh" class="tsd-kind-icon">kernelH</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#kernelw" class="tsd-kind-icon">kernelW</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#layerconfig" class="tsd-kind-icon">layer<wbr>Config</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#losses" class="tsd-kind-icon">losses</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#name" class="tsd-kind-icon">name</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#nontrainableweights" class="tsd-kind-icon">non<wbr>Trainable<wbr>Weights</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#outboundnodes" class="tsd-kind-icon">outbound<wbr>Nodes</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#output" class="tsd-kind-icon">output</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#outputshape" class="tsd-kind-icon">output<wbr>Shape</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#stateful" class="tsd-kind-icon">stateful</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#supportsmasking" class="tsd-kind-icon">supports<wbr>Masking</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#trainable" class="tsd-kind-icon">trainable</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#trainableweights" class="tsd-kind-icon">trainable<wbr>Weights</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#trainable_" class="tsd-kind-icon">trainable_</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#updatable" class="tsd-kind-icon">updatable</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#updates" class="tsd-kind-icon">updates</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#weights" class="tsd-kind-icon">weights</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#addloss" class="tsd-kind-icon">add<wbr>Loss</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#addweight" class="tsd-kind-icon">add<wbr>Weight</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#apply" class="tsd-kind-icon">apply</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#assertinputcompatibility" class="tsd-kind-icon">assert<wbr>Input<wbr>Compatibility</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#assertnotdisposed" class="tsd-kind-icon">assert<wbr>Not<wbr>Disposed</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#build" class="tsd-kind-icon">build</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#calculatelosses" class="tsd-kind-icon">calculate<wbr>Losses</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#call" class="tsd-kind-icon">call</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#clearcallhook" class="tsd-kind-icon">clear<wbr>Call<wbr>Hook</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#computemask" class="tsd-kind-icon">compute<wbr>Mask</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#computeoutputshape" class="tsd-kind-icon">compute<wbr>Output<wbr>Shape</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#countparams" class="tsd-kind-icon">count<wbr>Params</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#dispose" class="tsd-kind-icon">dispose</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#disposeweights" class="tsd-kind-icon">dispose<wbr>Weights</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#getclassname" class="tsd-kind-icon">get<wbr>Class<wbr>Name</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#getconfig" class="tsd-kind-icon">get<wbr>Config</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#getinputat" class="tsd-kind-icon">get<wbr>Input<wbr>At</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#getoutputat" class="tsd-kind-icon">get<wbr>Output<wbr>At</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#getweights" class="tsd-kind-icon">get<wbr>Weights</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#invokecallhook" class="tsd-kind-icon">invoke<wbr>Call<wbr>Hook</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#resetstates" class="tsd-kind-icon">reset<wbr>States</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#setcallhook" class="tsd-kind-icon">set<wbr>Call<wbr>Hook</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#setfastweightinitduringbuild" class="tsd-kind-icon">set<wbr>Fast<wbr>Weight<wbr>Init<wbr>During<wbr>Build</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#setweights" class="tsd-kind-icon">set<wbr>Weights</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#warnonincompatibleinputshape" class="tsd-kind-icon">warn<wbr>OnIncompatible<wbr>Input<wbr>Shape</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#fromconfig" class="tsd-kind-icon">from<wbr>Config</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-static tsd-is-not-exported">
								<a href="_gansynth_custom_layers_.initialpad.html#nodekey" class="tsd-kind-icon">node<wbr>Key</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported">
						<a href="_gansynth_custom_layers_.pixelnorm.html" class="tsd-kind-icon">Pixel<wbr>Norm</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="../modules/_gansynth_custom_layers_.html#boxupscale-1" class="tsd-kind-icon">box<wbr>Upscale</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="../modules/_gansynth_custom_layers_.html#initialpad-1" class="tsd-kind-icon">initial<wbr>Pad</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="../modules/_gansynth_custom_layers_.html#pixelnorm-1" class="tsd-kind-icon">pixel<wbr>Norm</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html>
